package com.ruoyi.contract.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.contract.domain.ConBusinessType;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by zhangxiang on 2021/11/16.
 */
@Repository
public interface ConBusinessTypeMapper extends BaseMapper<ConBusinessType> {

    @Select("select CON_BUSSINESS_TYPE from CON_BUSINESS_TYPE where CON_ID=#{conId}")
    List<String> getConBusTypeByConId(@Param("conId") Long conId);
}
